package com.ms.p2p.provider.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.ms.p2p.bean.PageBean;
import com.ms.p2p.provider.RedPacketProvider;
import com.ms.p2p.service.impl.RedPacketServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by daimajia on 2015/4/19 添加dubbo接口.
 */
@Service
public class RedPacketProviderImpl implements RedPacketProvider {
    @Resource
    RedPacketServiceImpl redPacketService;

    public List findPager(PageBean page, String status, Integer user_id,Integer time_limit) {
        return redPacketService.findPager(page,status,user_id,time_limit);
    }


    public int findCount() {
        return redPacketService.findCount();
    }


}
